﻿using System;
using System.ComponentModel.DataAnnotations;

namespace MiniWeb.Web.Controllers.Admin.VoucherHistoryManager.ViewModels
{
	public class SaveVoucherHistory
	{   
      			
        public int? ID {get; set; }  
        
				[Display(Name = "订单号"), Required(ErrorMessage = "请输入！")]
        public string Code {get; set; } 
        
				[Display(Name = "用户账户"), Required(ErrorMessage = "请输入！")]
        public string Account {get; set; } 
        
				[Display(Name = "昵称"), Required(ErrorMessage = "请输入！")]
        public string NickName {get; set; } 
        
				[Display(Name = "充值金额"), Required(ErrorMessage = "请输入！")]
        public decimal RMB {get; set; } 
        
				[Display(Name = "支付方式"), Required(ErrorMessage = "请输入！")]
        public int PayType {get; set; } 
        
				[Display(Name = "付费模式"), Required(ErrorMessage = "请输入！")]
        public int FuFeiType {get; set; } 
        
				[Display(Name = "开通月数"), Required(ErrorMessage = "请输入！")]
        public int OpenMonth {get; set; } 
        
				[Display(Name = "充值时间"), Required(ErrorMessage = "请输入！")]
        public DateTime CreateDate {get; set; } 
        
				[Display(Name = "完成时间"), Required(ErrorMessage = "请输入！")]
        public DateTime FinishDate {get; set; } 
        
				[Display(Name = "充值状态"), Required(ErrorMessage = "请输入！")]
        public int State {get; set; } 
        
				
		
   
	}
}